package com.nuedu.corejava.ch10.homework;

/**
 * <pre>
 * 银行储户类
 * 
 * @author admin
 *</pre>
 */
public class BankDepositor {
	//储户ID
	private String id;
	//储户名称
	private String name;
	//金额
	private double balance;

	public BankDepositor() {
		super();
	}

	public BankDepositor(String id, String name, double balance) {
		super();
		this.id = id;
		this.name = name;
		this.balance = balance;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getBalance() {
		return balance;
	}

	public void setBalance(double balance) {
		this.balance = balance;
	}

}
